Skip to content

feat(prx): declare 27 PS5 JSON and AudioOut exports - #9541

Closed
xdCloudy wants to merge 2 commits into
boykopovar:mainfrom
xdCloudy:feat/ps5-json-audio-control-exports
Closed

xdCloudy wants to merge 2 commits into
boykopovar:mainfrom
xdCloudy:feat/ps5-json-audio-control-exports

Conversation

@xdCloudy

@xdCloudy xdCloudy commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Update (2026-10-25)

The branch is based on current upstream main at f26434a. Corrected the 25 JSON APS5_EXPORT registration literals; the two AudioOut NIDs were already valid. All JSON registration NIDs match the technical-debt records. Local conventions and diff-check pass. This remains a draft while the documented overlap/dependency work is outstanding; refreshed hosted checks are running.

What

Adds 27 pending PS5 3.20 import declarations: 25 libSceJson exports and 2 libSceAudioOut controls. Every declaration calls NotImplemented_nid_no_patch; signatures and behavior are unverified, so these are import-resolution declarations only. The technical-debt files document them.

Tested

Checklist

@MarcZX10 MarcZX10 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I independently recomputed all 25 JSON export NIDs from their mangled names and both AudioOut NIDs from the exported names with tools/nid_names.py; all 27 match the declarations. The current eligibility, conventions, intake, labels and report checks pass. The PR reports successful Windows and WSL target builds; product CI jobs are skipped, and I did not run a local build.

The contribution rule requires author coordination and a Depends on entry when the overlap report identifies shared lines/files that need ordering. I ran the branch-mode overlap scan using the proposed prefilter and checked its affected diffs:

  • #9470 also adds JSON exports at the libSceJson/Export.cpp placeholder and creates docs/dev/debt/libSceJson.md; the pairwise merge conflicts in both files. Please agree with its author on landing order and list the prerequisite in Depends on.
  • The scanner cannot compare old-base overlaps for #8525, #8652 and #9027. Their diffs touch libSceAudioOut/src/Unimplemented.cpp and/or the same AudioOut debt file; pairwise merge attempts also report affected-file conflicts. Please coordinate their landing order with those authors and list any prerequisites.
  • #5021 is another debt-file comparison the scanner cannot complete because its branch conflicts with main; manually confirm whether its changed debt lines need ordering and record the result.

Please update the checklist with the agreed order and rerun the overlap and conventions checks. I’m requesting changes for the missing coordination record; I found no duplicate NIDs in this PR’s 27 declarations.

@xdCloudy

Copy link
Copy Markdown
Contributor Author

Thanks for the independent NID check. I updated the PR description and checklist with the landing order: #9470, #8525, #8652, and #9027 are listed as prerequisites, and I asked the authors of #8525, #8652, and #9027 to confirm the order on their PRs.

I manually checked #5021's AudioOut debt hunk: it adds a separate paragraph after the existing context, so it does not overlap these entries and needs no ordering dependency. The local comparison against 1,134 cached PR heads found the shared-file cases documented above and no duplicate export NIDs. I reran the conventions check and git diff --check; both pass. The Windows and WSL target builds passed earlier. Hosted checks currently show 5 successful and 6 skipped, so I am not claiming full CI.

I’m leaving this as a draft until the landing-order coordination is confirmed.

@github-actions

github-actions Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 5021 docs/dev/debt/libSceAudioOut.md

@xdCloudy

Copy link
Copy Markdown
Contributor Author

Follow-up with the refreshed overlap evidence: GitHub currently shows 1,139 open PRs. I refreshed the local refs for the newest open PRs and for every PR that touches one of this batch’s four changed files, then reran the local pr_overlap.py merge-tree/export comparison on those candidates. It reports #9470’s real JSON placeholder/debt-file conflict; #8525, #8652 and #9027 remain old-base comparisons that the scanner cannot complete, and I manually confirmed their changed AudioOut functions are distinct from these exports; #5021’s old-base debt-file hunk is also separate. The remaining shared-file candidates have no overlapping hunks, added files, or duplicate exports. The independent exact library/NID audit remains clear, including the newest PRs, which do not touch these target libraries. The conventions check and git diff --check pass. I’ve asked the three AudioOut PR authors to confirm landing order; none has replied yet, so this stays a draft.

@xdCloudy

Copy link
Copy Markdown
Contributor Author

@MarcZX10 — I addressed the coordination points from your review: #9470, #8525, #8652, and #9027 are listed as prerequisites; I manually checked #5021’s separate AudioOut debt hunk. The author of #9027 confirmed its landing order, and I’ve asked the authors of #8525 and #8652 to confirm theirs. I’ll keep this PR in draft while those replies are pending. The refreshed overlap evidence still shows no duplicate NIDs.

@xdCloudy

Copy link
Copy Markdown
Contributor Author

Coordination update for the requested landing order: #9027’s author agreed that #9027 should land first and #9541 should be rebased on top. I asked the authors of #8525 and #8652 to confirm that those PRs should also land before #9541; neither has replied yet. Both remain open and DIRTY against current main, so I’m keeping #9541 in draft until their landing order is confirmed. I reran the current hosted checks: conventions, eligibility, intake, labels, and report pass; product/platform jobs are skipped.

@xdCloudy
xdCloudy force-pushed the feat/ps5-json-audio-control-exports branch 2 times, most recently from a2b9a38 to 50aad78 Compare October 22, 2026 06:19
@xdCloudy

Copy link
Copy Markdown
Contributor Author

Fresh overlap review after rebasing #9541 onto current main found a duplicate the bot could not compare: #9653 declares the same AudioOut exports and NIDs, sceAudioDeviceControlGet (tKumjQSzhys) and sceAudioDeviceControlSet (5ChfcHOf3SM). #9541 was opened at 00:54 UTC; #9653 was opened at 06:15 UTC. I am retaining the earlier declarations in #9541. To avoid duplicate NIDs if both changes land, the two entries should be removed from the later #9653 or the maintainers should coordinate the order. I updated this PR body with the exact overlap and manual review. The rebased JSON and AudioOut targets build and link on Windows and WSL; conventions, exact NID checks and hosted eligibility/conventions/intake/labels/report checks pass. Product/platform jobs are skipped.

@xdCloudy

Copy link
Copy Markdown
Contributor Author

The review’s coordination request is still partly open. #9470 predates #9541 and remains the prerequisite for the shared JSON changes; #9027’s author agreed to land first. I still do not have confirmation from #8525 or #8652, so I am not claiming those shared-file orders are resolved. I also confirmed a same-export overlap with later-opened #9653: #9541 was opened at 00:54 UTC and #9653 at 06:15 UTC on 2026-10-22, and both declare sceAudioDeviceControlGet (tKumjQSzhys) and sceAudioDeviceControlSet (5ChfcHOf3SM). Preserve the earlier declarations in #9541 when resolving this; #9653 should remove the duplicates or maintainers should explicitly coordinate otherwise. I am keeping #9541 draft until the outstanding shared-file order is resolved and the branch is rebased with fresh checks.

@xdCloudy
xdCloudy force-pushed the feat/ps5-json-audio-control-exports branch 6 times, most recently from 1e263fc to a4bf37b Compare October 23, 2026 03:46
@xdCloudy
xdCloudy marked this pull request as ready for review October 23, 2026 03:53
@xdCloudy
xdCloudy marked this pull request as draft October 23, 2026 04:14
@xdCloudy
xdCloudy force-pushed the feat/ps5-json-audio-control-exports branch 3 times, most recently from ecc52c2 to 9c71e4d Compare October 23, 2026 05:43
@xdCloudy

Copy link
Copy Markdown
Contributor Author

I corrected the checklist dependency item to match the repository template and list the four proposed prerequisites. On the current PR head, local conventions and diff checks pass, check_main_sync.py reports 1 ahead / 0 behind upstream/main, and the Windows and WSL JSON/AudioOut targets are up to date. Hosted product build jobs remain skipped for drafts. I am keeping this in draft because author confirmation for the shared-file landing order with #8525 and #8652 is still outstanding, and the earlier changes-requested review has not been re-reviewed.

@xdCloudy
xdCloudy force-pushed the feat/ps5-json-audio-control-exports branch 2 times, most recently from 57b9d8b to 58f3e48 Compare October 23, 2026 07:13
@xdCloudy
xdCloudy force-pushed the feat/ps5-json-audio-control-exports branch from 58f3e48 to 52883ed Compare October 24, 2026 23:34
@xdCloudy

Copy link
Copy Markdown
Contributor Author

I found and fixed the same APS5_EXPORT literal-NID issue in the 25 JSON declarations. They now register computed 11-character NIDs matching the debt records; the two AudioOut literals were already valid NIDs. Local conventions and diff-check pass. The PR remains draft because of its recorded overlap/dependency work, and the refreshed hosted checks are pending.

@xdCloudy xdCloudy closed this Oct 25, 2026
@xdCloudy

Copy link
Copy Markdown
Contributor Author

I’ve closed my PRs because, based on my personal experience, I’ve decided I will no longer contribute to or update them. This decision is about my experience with the public community and is not directed at the maintainers or active reviewers, whose time and work I appreciate. Thank you for reviewing and discussing my contributions. I wish the project and its maintainers well.

1 similar comment
@xdCloudy

Copy link
Copy Markdown
Contributor Author

I’ve closed my PRs because, based on my personal experience, I’ve decided I will no longer contribute to or update them. This decision is about my experience with the public community and is not directed at the maintainers or active reviewers, whose time and work I appreciate. Thank you for reviewing and discussing my contributions. I wish the project and its maintainers well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants